package com.order.entity;

import java.util.Date;
import com.bhudy.annotation.PrimaryKey;

/**
 * @Author 卞洪业
 * @Description ResOrderStage实体类
 * @Date Wed Feb 19 17:04:56 CST 2020
 */
public class ResOrderStage {

    @PrimaryKey
    private Long resOrderStageId;    //Id uuid
    private Long resOrderId;    //关联工单Id
    private String templateName;    //工单流程名称
    private Integer stage;    //当前阶段1新建，2审核，3处理，4审计，5结单
    private Integer orderStatus;    //工单状态码1新建（1新建中，2审核不通过，3接单拒接），2审核（1审核中），3处理（1待接单，2处理中，3审计不通过），4审计（1审计中），5接单（1待结单评价）
    private Integer stageSort;    //工单步骤排序
    private Integer sort; //步骤排序
    private String content;    //处理内容
    private Long userId;    //处理人
    private Double qualified;    //合格，正数合格，负数超时
    private Long useTime;    //使用时间，毫秒数
    private Integer status;    //状态（0正常 1删除 2停用 3冻结）
    private Long createBy;    //创建者
    private Date createDate;    //创建时间
    private Long updateBy;    //更新者
    private Date updateDate;    //更新时间
    private String remark;    //备注信息

    public Long getResOrderStageId() {
        return resOrderStageId;
    }

    public void setResOrderStageId(Long resOrderStageId) {
        this.resOrderStageId = resOrderStageId;
     }

    public Long getResOrderId() {
        return resOrderId;
    }

    public void setResOrderId(Long resOrderId) {
        this.resOrderId = resOrderId;
     }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
     }

    public Integer getStage() {
        return stage;
    }

    public void setStage(Integer stage) {
        this.stage = stage;
     }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
     }

    public Integer getStageSort() {
        return stageSort;
    }

    public void setStageSort(Integer stageSort) {
        this.stageSort = stageSort;
     }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
     }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Double getQualified() {
        return qualified;
    }

    public void setQualified(Double qualified) {
        this.qualified = qualified;
     }

    public Long getUseTime() {
        return useTime;
    }

    public void setUseTime(Long useTime) {
        this.useTime = useTime;
     }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
     }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
     }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
     }

    public Long getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Long updateBy) {
        this.updateBy = updateBy;
     }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
     }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
     }

}
